package com.iflytek.jobs.admin.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.iflytek.jobs.service.domain.JobInfo;
import com.iflytek.jobs.service.service.IJobInfoService;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;

@RestController
@RequestMapping("/jobs/nologin")
public class NologinController extends BaseController{
    @Autowired
    private IJobInfoService jobInfoService;
    
    @GetMapping("/jobs")
    public TableDataInfo list(JobInfo jobInfo) {
        startPage();
        List<JobInfo> list = jobInfoService.selectJobInfoList(jobInfo);
        return getDataTable(list);
    }
}
